//
//  PGVoiceViewController.m
//  youqu
//
//  Created by 彭鹏 on 16/10/3.
//  Copyright © 2016年 pengpeng. All rights reserved.
//

#import "PGPostVoiceViewController.h"

@interface PGPostVoiceViewController ()

@end

@implementation PGPostVoiceViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = commonBgColor;
    self.tableView.contentInset = UIEdgeInsetsMake(navigationBarHeight+titleHeight, 0, 0, 0);
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    
    return 20;
}


- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
    if (cell == nil) {
        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"cell"];
    }
    cell.textLabel.text = [NSString stringWithFormat:@"声音%zd",indexPath.row];
    
    return cell;
}

@end
